<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>myScheduleChange</title>
<link rel="stylesheet" href="view/controller.css" type="text/css"/>
</head>
 <body>
    <div class="header">
		<jsp:include page="head_controller.html"/>
	</div>
    <div class="login">
   <%
      String error = request.getParameter("error");
      if (error != null) {
    %>
        <p style="color: red">Error: <%=error%>.</p>
     
    <%
      }
    %>

	<h1 style="margin-left:80px">Login</h1>
    
    <form method="post" action="j_security_check">
      <table style="border-width:0px">
        <tr>
          <td align="left" style="border-width:0px; font-weight:bold">Username:</td>
          <td align="left" style="border-width:0px"><input type="text" name="j_username"/></td>
        </tr>
        <tr>
          <td align="left" style="border-width:0px; font-weight:bold">Password:</td>
          <td align="left" style="border-width:0px"><input type="password" name="j_password"/></td>
        </tr>
        <tr>
          <td align="left" style="border-width:0px">&nbsp;</td>
          <td align="left" style="border-width:0px"><input type="submit" value="Log In"/></td>
        </tr>
        <tr>
          <td align="left" style="border-width:0px">&nbsp;</td>
          <td align="left" style="border-width:0px"><a href="AdminRegister.s"> Registrierung</a></td>
        </tr>
      </table>
    </form>
    </div>
  </body>
</html>